package com.changhai.diabetes.service;

import java.util.List;

import com.changhai.diabetes.model.Bear;
import com.changhai.diabetes.model.BearForExport;
import com.changhai.diabetes.model.ConcurrentResultForExport;
import com.changhai.diabetes.model.Drug;
import com.changhai.diabetes.model.DrugTreatment;
import com.changhai.diabetes.model.DrugTreatmentForExport;
import com.changhai.diabetes.model.Family;
import com.changhai.diabetes.model.FamilyForExport;
import com.changhai.diabetes.model.InterGroupUser;
import com.changhai.diabetes.model.InterPatientGroup;
import com.changhai.diabetes.model.InterPatientUser;
import com.changhai.diabetes.model.LabPhysical;
import com.changhai.diabetes.model.LabPhysicalForExport;
import com.changhai.diabetes.model.LabSugarForExport;
import com.changhai.diabetes.model.NutritionSuifang;
import com.changhai.diabetes.model.NutritionSuifangForExport;
import com.changhai.diabetes.model.NutritionSurvey;
import com.changhai.diabetes.model.NutritionSurveyForExport;
import com.changhai.diabetes.model.NutritionTreatment;
import com.changhai.diabetes.model.NutritionTreatmentForExport;
import com.changhai.diabetes.model.Patient;
import com.changhai.diabetes.model.PatientForExport;
import com.changhai.diabetes.model.Personal;
import com.changhai.diabetes.model.PersonalForExport;
import com.changhai.diabetes.model.PhysicalSurveyResult;
import com.changhai.diabetes.model.PhysicalSurveyResultForExport;
import com.changhai.diabetes.model.QualitySurveyResult;
import com.changhai.diabetes.model.QualitySurveyResultForExport;
import com.changhai.diabetes.model.ResearchGroup;
import com.changhai.diabetes.model.ResearchGroupForExport;
import com.changhai.diabetes.model.SportsSuifang;
import com.changhai.diabetes.model.SportsSuifangForExport;
import com.changhai.diabetes.model.SportsSurvey;
import com.changhai.diabetes.model.SportsSurveyForExport;
import com.changhai.diabetes.model.SportsTreatment;
import com.changhai.diabetes.model.SportsTreatmentForExport;
import com.changhai.diabetes.model.SymptomsSurveyResult;
import com.changhai.diabetes.model.SymptomsSurveyResultForExport;
import com.changhai.diabetes.model.TableForPatient;
import com.changhai.diabetes.model.User;

/**
 * 数据导出导入
 * 
 * @author Andy
 * 
 */
public interface DataService {
	public List<User> getUserList();

	public List<ResearchGroupForExport> getAllGroupList();
	
	public List<ResearchGroup> getGanyuGroupListById(Long groupId);
	
	public List<ResearchGroup> getGroupListByUserId(Long userId);
	
	public List<String> getSurveyContentByIds(String contentIds);
	
	public List<PatientForExport> getPatientListForExport();
	
	public void importPatient(Patient patient,InterPatientUser ipu,InterPatientGroup ipg);
	//public void importPatient(PatientForExport patient);
	
	public List<Long> gettSurveyIdsByContent(String content);
	
	public void importResearchGroup(ResearchGroup rg, InterGroupUser igu);
	
	public List<TableForPatient> getAllTbInfo();
	
	public void importUser(User user, List<InterGroupUser> igus);
	
	public List<PersonalForExport> getPersonalListForExport();	
	
	public List<BearForExport> getBearListForExport();
	
	public List<FamilyForExport> getFamilyListForExport();
	
	public List<LabPhysicalForExport> getLabPhysicalListForExport();
	
	public List<NutritionSuifangForExport> getNutritionSuifangListForExport();
	
	public List<NutritionSurveyForExport> getNutritionSurveyListForExport();
	
	public List<NutritionTreatmentForExport> getNutritionTreatmentListForExport();
	
	public List<SportsSuifangForExport> getSportsSuifangListForExport();
	
	public List<SportsSurveyForExport> getSportsSurveyListForExport();
	
	public List<SportsTreatmentForExport> getSportsTreatmentListForExport();
	
	public List<DrugTreatmentForExport> getDrugTreatmentListForExport();
	
	public List<PhysicalSurveyResultForExport> getPhysicalSurveyResultListForExport();
	
	public List<QualitySurveyResultForExport> getQualitySurveyResultListForExport();
	
	public List<SymptomsSurveyResultForExport> getSymptomsSurveyResultListForExport();
	
	public List<ConcurrentResultForExport> getConcurrentResultListForExport();
	
	public List<LabSugarForExport> getLabSugarListForExport();
	
	public void importSymptomsSurveyResult(SymptomsSurveyResult rec);
	
	public void importQualitySurveyResult(QualitySurveyResult rec);
	
	public void importPhysicalSurveyResult(PhysicalSurveyResult rec);
	
	public List<Drug> getDrugList();
	
	public void importDrugTreatment(DrugTreatment rec);
	
	public void importSportsSuifang(SportsSuifang rec);
	
	public void importSportsSurvey(SportsSurvey rec);
	
	public void importSportsTreatment(SportsTreatment rec);
	
	public void importNutritionSuifang(NutritionSuifang rec);
	
	public void importNutritionSurvey(NutritionSurvey rec);
	
	public void importNutritionTreatment(NutritionTreatment rec);
	
	public void importLabPhysical(LabPhysical rec);
	
	public void importFamily(Family rec);
	
	public void importBear(Bear rec);
	
	public void importPersonal(Personal rec);
}
